package spec.liyan.unit3.tast3_1;

import java.util.Scanner;

public class FinanceInfoTast {
    public static void main(String[] args) {
        //创建财务信息对象
        FinanceInfo financeInfo=new FinanceInfo();
        //常见输入流对象
        Scanner sc=new Scanner(System.in);
        //获取输入的财务信息
        System.out.println("请输入公司名称：");
        String companyName=sc.next();
        System.out.println("请输入订金收入：");
        double earnestIncome=sc.nextDouble();
        System.out.println("请输入押金收入：");
        double deposiIncome=sc.nextDouble();
        System.out.println("请输入租金收入：");
        double rentIncome=sc.nextDouble();
        System.out.println("请输入其他收入：");
        double otherIncome=sc.nextDouble();
        System.out.println("请输入员工成本：：");
        double staffCost=sc.nextDouble();
        System.out.println("请输入店面房租：");
        double rentCost=sc.nextDouble();
        System.out.println("请输入水电成本：");
        double hydropowerCost=sc.nextDouble();
        System.out.println("请输入税收费用：");
        double taxCost=sc.nextDouble();
        System.out.println("请输入其他费用：");
        double otherCost=sc.nextDouble();
    }
}
